﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Farmacia.Entities;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Data;
using System.Data;
using System.Data.Common;

using Microsoft.Practices.Unity;

namespace Farmacia.DataAccess.Almacen.GrupoFarm
{
    public class GrupFarmaDAO:MasterDAEL, IGrupoFarma
    {

        public List<GrupFar> GetAllGrupoFarmacologico()
        {
            var query = DataBase.ExecuteSprocAccessor<GrupFar>("GetAllGrupoFarmacologico");
            return query.ToList();
        }
    }
}
